package ru.home.documentmanager.model.security;

public enum UserRole {

    USER(Role.ROLE_USER), ADMIN(Role.ROLE_ADMIN, Role.ROLE_USER);

    private final Role[] roles;

    private UserRole(Role... roles) {
        this.roles = roles;
    }

    public Role[] getRoles() {
        return roles;
    }

}
